/* ================================
   KAVYROXEN COFFEE - MAIN STYLES
   ================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Coffee Colors */
    --color-primary: #501E05;
    --color-primary-dark: #3a1604;
    --color-primary-light: #6b2807;
    --color-primary-lighter: #8d3c0f;
    
    /* Secondary Colors */
    --color-secondary: #d4a574;
    --color-coffee-cream: #f5e6d3;
    --color-coffee-bean: #2c1810;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light: #fafafa;
    --color-gray-light: #e8e8e8;
    --color-gray: #999999;
    --color-gray-dark: #555555;
    --color-black: #1a1a1a;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 8px rgba(80, 30, 5, 0.08);
    --shadow-medium: 0 4px 16px rgba(80, 30, 5, 0.12);
    --shadow-large: 0 8px 32px rgba(80, 30, 5, 0.16);
    
    /* Border Radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
}

/* ===== FONTS ===== */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.3px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 16px;
    color: var(--color-gray-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn:active {
    transform: translateY(0);
}

/* ===== FORMS ===== */
input,
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-black);
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-small);
    transition: var(--transition-normal);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(80, 30, 5, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-light);
}

.bg-coffee-cream {
    background-color: var(--color-coffee-cream);
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Scroll animations will be triggered by JS */
.scroll-animate {
    opacity: 0;
}

.scroll-animate.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== COFFEE DECORATIONS ===== */
.coffee-bean-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50% 50% 50% 0;
    opacity: 0.05;
    transform: rotate(-45deg);
    pointer-events: none;
}

.steam-decoration {
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(to top, transparent, var(--color-gray-light), transparent);
    opacity: 0.3;
    animation: steam 3s ease-in-out infinite;
}

@keyframes steam {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) translateX(5px);
        opacity: 0.3;
    }
}

/* ===== RESPONSIVE GRID ===== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== FLEXBOX UTILITIES ===== */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }
.gap-4 { gap: 40px; }

/* ===== CARDS ===== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-small);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

/* ===== OVERLAY ===== */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.overlay-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(80, 30, 5, 0.8));
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-gray-dark);
}

/* ===== LOADING SPINNER ===== */
.spinner {
    border: 3px solid var(--color-gray-light);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================
   HEADER STYLES
   ================================ */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--color-white);
    z-index: 1000;
    box-shadow: var(--shadow-small);
}

/* Header Top */
.header-top {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.header-contact-item:hover {
    opacity: 0.8;
}

.header-contact-item svg {
    flex-shrink: 0;
}

.header-info-item {
    font-weight: 600;
}

/* Header Main */
.header-main {
    padding: 16px 0;
    background: var(--color-white);
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 60px;
    transition: var(--transition-normal);
}

.header-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.header-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-black);
    padding: 8px 0;
    position: relative;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cart {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-black);
    transition: var(--transition-normal);
}

.header-cart:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Header */
@media (max-width: 992px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contacts {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 86px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: var(--shadow-medium);
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 999;
    }
    
    .header-nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-light);
    }
    
    .nav-link {
        display: block;
        padding: 16px 0;
        text-align: center;
    }
    
    .header-info {
        display: none;
    }
}

/* ================================
   FOOTER STYLES
   ================================ */

.footer {
    background: var(--color-coffee-bean);
    color: var(--color-white);
    margin-top: auto;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-white);
}

/* Footer Brand */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray-light);
    margin-bottom: 24px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

/* Footer Title */
.footer-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--color-white);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-gray-light);
    font-size: 15px;
    transition: var(--transition-normal);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: var(--color-gray-light);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-secondary);
}

.footer-contact a {
    color: var(--color-gray-light);
    transition: var(--transition-normal);
}

.footer-contact a:hover {
    color: var(--color-secondary);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    font-size: 14px;
    color: var(--color-gray-light);
    margin: 0;
}

.copyright strong {
    color: var(--color-white);
}

/* Payment Icons */
.footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-gray-light);
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icons svg {
    opacity: 0.8;
    transition: var(--transition-normal);
}

.payment-icons svg:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-payment {
        flex-direction: column;
        gap: 10px;
    }
}

/* ================================
   HOME PAGE STYLES
   ================================ */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(80, 30, 5, 0.85) 0%, rgba(44, 24, 16, 0.75) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-coffee-cream);
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Features Section */
.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-gray-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Video Section */
.video-section {
    padding: 0;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 500px;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(80, 30, 5, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.video-overlay h2 {
    color: var(--color-white);
    text-align: center;
    padding: 0 20px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-small);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.product-notes {
    font-size: 14px;
    color: var(--color-gray);
    font-style: italic;
    margin-bottom: 20px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.product-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card h4 {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 2px solid var(--color-gray-light);
    padding-top: 16px;
}

.testimonial-author strong {
    color: var(--color-primary);
    font-family: var(--font-primary);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--color-gray);
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 40px 20px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.step-icon {
    margin: 40px auto 24px;
    color: var(--color-secondary);
}

.step-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--color-gray-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Gallery Section */
.gallery {
    padding: 0;
    margin: var(--section-padding) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 300px;
    }
}

/* Coffee Guide Section */
.guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.guide-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 30px;
}

.guide-section {
    margin-bottom: 28px;
}

.guide-section h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.guide-list {
    list-style: none;
    padding-left: 0;
}

.guide-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-gray-dark);
}

.guide-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
}

.guide-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--color-primary);
}

.guide-cta p {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.guide-image {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .guide-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background: var(--color-light);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--color-white);
    padding: 50px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ================================
   SHARED PAGE HERO STYLES
   ================================ */

.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(80, 30, 5, 0.9) 0%, rgba(44, 24, 16, 0.85) 100%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-coffee-cream);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .page-hero {
        height: 350px;
    }
}

/* ================================
   SHOP PAGE STYLES
   ================================ */

.shop-products {
    padding: var(--section-padding) 0;
}

.shop-product-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 2px solid var(--color-gray-light);
}

.shop-product-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-product-image {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-medium);
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.shop-product-item:hover .shop-product-image img {
    transform: scale(1.05);
}

.shop-product-content {
    position: relative;
}

.product-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.shop-product-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    padding-left: 50px;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-bottom: 24px;
}

.shop-product-content .product-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.shop-product-content .product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

@media (max-width: 992px) {
    .shop-product-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .shop-product-image {
        height: 350px;
    }
    
    .product-number {
        top: 10px;
        left: 10px;
    }
    
    .shop-product-content h3 {
        padding-left: 0;
        margin-top: 40px;
    }
}

/* Shop CTA */
.shop-cta {
    padding: 60px 0;
}

.shop-cta-content h2 {
    margin-bottom: 16px;
}

.shop-cta-content p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--color-gray-dark);
}

/* ================================
   SUBSCRIPTION PAGE STYLES
   ================================ */

.subscription-benefits {
    padding: var(--section-padding) 0;
}

.benefit-item {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-reverse {
    grid-template-columns: 1fr 1fr 80px;
}

.benefit-reverse .benefit-content {
    order: 2;
}

.benefit-reverse .benefit-image {
    order: 1;
}

.benefit-reverse .benefit-number {
    order: 3;
}

.benefit-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-large);
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.benefit-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.benefit-highlight {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    font-style: italic;
    margin-top: 16px;
}

.benefit-image {
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-medium);
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.benefit-item:hover .benefit-image img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .benefit-item,
    .benefit-reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefit-reverse .benefit-content,
    .benefit-reverse .benefit-image,
    .benefit-reverse .benefit-number {
        order: initial;
    }
    
    .benefit-number {
        margin: 0 auto;
    }
    
    .benefit-image {
        height: 300px;
    }
}

/* Subscription CTA */
.subscription-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
}

.bg-primary {
    background: var(--color-primary);
}

.subscription-cta-content h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.subscription-cta-content p {
    font-size: 18px;
    color: var(--color-coffee-cream);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ================================
   ABOUT US PAGE STYLES
   ================================ */

.our-story {
    padding: var(--section-padding) 0;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    text-align: center;
    margin-bottom: 50px;
}

.story-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-gray-dark);
}

.story-text p {
    margin-bottom: 24px;
}

.story-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 32px;
}

.story-highlight {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 32px 0;
    font-family: var(--font-secondary);
}

.story-values {
    background: var(--color-coffee-cream);
    padding: 32px;
    border-radius: var(--radius-medium);
    margin: 32px 0;
    border-left: 4px solid var(--color-primary);
}

.story-values p {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.story-values ul {
    list-style: none;
    padding-left: 0;
}

.story-values li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.story-values li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 18px;
}

.story-name {
    background: var(--color-light);
    padding: 24px;
    border-radius: var(--radius-medium);
    margin: 32px 0;
}

.story-name p {
    font-weight: 600;
    margin-bottom: 12px;
}

.story-name ul {
    list-style: none;
    padding-left: 0;
}

.story-name li {
    padding: 6px 0;
}

.story-emphasis {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin: 32px 0;
}

.story-belief {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-medium);
    text-align: center;
    margin: 40px 0;
}

.story-belief p {
    color: var(--color-white);
    margin-bottom: 12px;
}

.story-belief strong {
    font-size: 20px;
}

.story-tagline {
    font-size: 24px;
    font-family: var(--font-secondary);
    color: var(--color-primary);
    text-align: center;
    margin-top: 40px;
}

/* Values Section */
.values-section {
    padding: var(--section-padding) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--color-white);
    padding: 40px 24px;
    border-radius: var(--radius-medium);
    text-align: center;
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* About Gallery */
.about-gallery {
    padding: 0;
    margin: var(--section-padding) 0;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-gallery-item {
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-medium);
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-gallery-item {
        height: 350px;
    }
}

/* About CTA */
.about-cta {
    padding: var(--section-padding) 0;
    background: var(--color-light);
}

.about-cta-content h2 {
    margin-bottom: 20px;
}

.about-cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--color-gray-dark);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   CONTACT PAGE STYLES
   ================================ */

.contact-page {
    padding: var(--section-padding) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    margin-bottom: 32px;
    color: var(--color-gray-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-light);
    border-radius: var(--radius-medium);
    transition: var(--transition-normal);
}

.contact-detail-item:hover {
    background: var(--color-coffee-cream);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
}

.contact-detail-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.contact-detail-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-detail-item a {
    color: var(--color-gray-dark);
    transition: var(--transition-normal);
}

.contact-detail-item a:hover {
    color: var(--color-primary);
}

/* Contact Social */
.contact-social h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-link-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* Contact Form Container */
.contact-form-container {
    background: var(--color-white);
    padding: 50px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
}

.contact-form-container h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form-page .btn {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        position: static;
    }
    
    .contact-form-container {
        padding: 30px;
    }
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-placeholder iframe {
    width: 100%;
    filter: grayscale(30%);
}

/* ================================
   FAQ PAGE STYLES
   ================================ */

.faq-section {
    padding: var(--section-padding) 0;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-medium);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-small);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    color: var(--color-primary-dark);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 30px 24px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

.faq-answer ul {
    list-style: none;
    padding-left: 50px;
    padding-bottom: 24px;
}

.faq-answer li {
    padding: 4px 0;
    padding-left: 24px;
    position: relative;
}

.faq-answer li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--color-primary-dark);
}

.faq-answer .btn {
    margin: 0 30px 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer p,
    .faq-answer ul {
        padding: 0 20px 20px;
    }
    
    .faq-answer ul {
        padding-left: 40px;
    }
    
    .faq-answer .btn {
        margin: 0 20px 16px;
    }
}

/* FAQ CTA */
.faq-cta {
    padding: 60px 0;
}

.faq-cta-content h2 {
    margin-bottom: 16px;
}

.faq-cta-content p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--color-gray-dark);
}

/* ================================
   LEGAL PAGES STYLES (TERMS & PRIVACY)
   ================================ */

.page-hero-small {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--color-coffee-cream), var(--color-light));
    border-bottom: 3px solid var(--color-primary);
}

.page-hero-small-content {
    text-align: center;
}

.page-hero-small h1 {
    margin-bottom: 12px;
}

.page-date {
    font-size: 16px;
    color: var(--color-gray);
    font-weight: 600;
    margin: 0;
}

.legal-content {
    padding: var(--section-padding) 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 60px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.legal-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--color-gray-light);
}

.legal-intro p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.legal-section h3 {
    font-size: 1.125rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-section li {
    padding: 8px 0;
    padding-left: 32px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
}

.legal-section li::before {
    content: '→';
    position: absolute;
    left: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 18px;
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition-normal);
}

.legal-section a:hover {
    color: var(--color-primary-dark);
}

.company-info-box,
.contact-info-box {
    background: var(--color-coffee-cream);
    padding: 24px;
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--color-primary);
    margin: 20px 0;
}

.company-info-box p,
.contact-info-box p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.company-info-box strong,
.contact-info-box strong {
    color: var(--color-primary);
    font-size: 18px;
}

@media (max-width: 768px) {
    .legal-wrapper {
        padding: 40px 24px;
    }
    
    .page-hero-small {
        padding: 40px 0 30px;
    }
}

/* ================================
   JAVASCRIPT INTERACTIVE ELEMENTS
   ================================ */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-large);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

/* Image Fade In */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded,
img[src] {
    opacity: 1;
}

/* Smooth Page Transitions */
body {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.page-transition {
    opacity: 0;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Disabled State */
button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Selection Styles */
::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Scrollbar Styles (Webkit browsers) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-to-top,
    .mobile-menu-toggle,
    button,
    .hero-scroll-indicator {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

